testing.common.cleanups (field)
9 uses
testing (current package)
testing.go#L499: cleanups []func() // optional functions to be called at the end of the test
testing.go#L1039: c.cleanups = append(c.cleanups, fn)
testing.go#L1184: recur := len(c.cleanups) > 0
testing.go#L1194: if len(c.cleanups) > 0 {
testing.go#L1195: last := len(c.cleanups) - 1
testing.go#L1196: cleanup = c.cleanups[last]
testing.go#L1197: c.cleanups = c.cleanups[:last]
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)